package com.itdfq.images.service.impl;

import com.itdfq.images.dao.ImagesDao;
import com.itdfq.images.domain.Images;
import com.itdfq.images.service.ImagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author GocChin
 * @Date 2021/4/15 9:27
 * @Blog: itdfq.com
 * @QQ: 909256107
 */

@Service
public class ImagesServiceImpl implements ImagesService {
    @Autowired
    private ImagesDao imagesDao;

    @Override
    public List<Images> findByPage() {
        return imagesDao.findByPage();
    }

    @Override
    public void insert(Images images) {
        imagesDao.insert(images);
    }

    @Override
    public void delete(int id) {
        imagesDao.delete(id);
    }

    @Override
    public void deleteSelect(List<String> list) {
        imagesDao.deleteSelect(list);
    }
}
